export const getHouseList = () => {
  return uni.$u.http.get('/room')
}

export const addHouse = (data) => {
  return uni.$u.http.post('room', data)
}

export const updateStatus = (params) => {
  return uni.$u.http.get('help/updateStatus', {
    params
  })
}

export const delHouse = (id) => {
  return uni.$u.http.delete(`room/${id}`)
}

export const getHouseDetail = (id) => {
  return uni.$u.http.get(`room/${id}`)
}
